package com.atguigu.service_order.client;


import com.atguigu.commonutils.R;
import com.atguigu.commonutils.vo.CourseOrderVo;
import io.swagger.annotations.ApiParam;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("service-edu")
@Component
public interface CourseClient {
    @GetMapping("eduservice/coursefront/getCourseOrderInfo/{id}")
    public CourseOrderVo getCourseOrderInfo(@PathVariable("id") String id);
}
